<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  <script>
	 //1
	console.log((123+45*78)/(34+543)-9*(324-34));

	 //2
	 var a =prompt('请输入摄氏度');
	     b = 9/5*a+32;
	 alert(b);

	 //3
	 var b = Math.pow((23+Math.pow(5,7))/45,2);
	 alert(b);

	 //4
	 var d = prompt('请输入边长');
	 var c = 3*Math.sqrt(3)/2*Math.pow(d,2);
	 alert(c);

	 //5
	 var f = prompt('请输入');
	 var e = f%7+2;
	 alert('星期'+e);

	 //6
	 var j = prompt('请输入');
	 var g = parseInt(j/100);
	 var h = parseInt(j/10)%10;
	 var i = j%10;
	 alert(g+h+i);






  </script>
 </body>
</html>
